body {
    font-family: Arial, sans-serif;
    margin: 20px;
    height: 90vh;
}

#file-manager {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

#file-list-container {
    padding: 20px;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th,
.file-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.file-table th {
    background-color: #f5f5f5;
}

.delete-btn {
    background-color: #f44336;
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
    border: none;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.connection-status {
    display: flex;
    align-items: center;
    width: 50px;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

.status-light.connected {
    background-color: #4caf50;
}

.status-light.disconnected {
    background-color: #f44336;
}

.status-light.connecting {
    background-color: #ffeb3b;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}
